package com.zhoutianyu.learnspringboot.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig2 {

    @Autowired
    SystemInit2Service systemInit2Service;

    @Bean
    public String systemInit2() {
        return systemInit2Service.init2();
    }
}